import java.util.ArrayList;
import java.awt.TextArea;

public class LineStorage{

ArrayList<String> sentences = new ArrayList<String>();

LineStorage(){}

LineStorage(TextArea ta)
{
	storeSentences(ta);
}

public void storeSentences(TextArea ta)
{
	String text = new String();
	text = ta.getText();		

	String[] stringArray = text.split("\\$");

	for(int i = 0; i < stringArray.length; i++)
	{
		sentences.add(stringArray[i]);
	}

}

public ArrayList<String> getSentences()
{
	return sentences;
}


}